package com.itwelkin.ssm.service;

import com.itwelkin.ssm.model.Admin;
import com.itwelkin.ssm.system.SysException;

import java.util.List;

public interface AdminService {
   List<Admin> queryItemsList(Admin admin);

   Admin login(Admin admin) throws SysException;

   void registry(Admin admin) throws SysException;
   Admin activeAdminUser(String code) throws SysException;

   List<Admin> queryUserList();

    void resendMail(String id) throws SysException;

   boolean resendMailWithMore(String[] ids) throws SysException;

   void authorize(String id, String opr) throws SysException;

   boolean authorizeWithMore(String[] ids) throws SysException;

   List<Admin> queryUserListWithCondition(String username, String regStart, String regEnd);
}
